<template>
  <view class="cu-bar search bg-white">
    <view class="search-form round">
      <text class="cuIcon-search"></text>
      <input
        v-model="keyword"
        :adjust-position="false"
        type="text"
        placeholder="好友查询"
        class="search-input"
        @input="onInput"
        @confirm="onConfirm"
        confirm-type="search"
        @tap="onTap"
      />
    </view>
    <view class="action" id="item2">
      <button class="cu-btn bg-green shadow-blur round" @tap="searcBlog">返回</button>
    </view>
  </view>
</template>

<script lang="ts" setup>
import { ref, computed } from 'vue'
import { onLoad, onPageScroll, onPullDownRefresh } from '@dcloudio/uni-app'
const searcBlog = () => {
  uni.navigateTo({
    url: '/pagesA/socketliao/index',
  })
}
const onTap = () => {
  uni.navigateTo({
    url: '/pagesA/socketliao/comp/search/index',
  })
}
</script>

<style scoped></style>
